The Dreamweaver JavaScript API > Path functions > dreamweaver.getConfigurationPath()

 

dreamweaver.getConfigurationPath()

Availability

Dreamweaver 2.0

Description

Gets the path to the Configuration folder, expressed as a file:// URL.

Arguments

None.

Returns

A string containing the path to the Configuration folder.

Enabler

None.

Example

This function is useful when referencing other extension files, which are all stored in the Configuration folder inside the Dreamweaver application folder. For example:

var sortCmd = dreamweaver.getConfigurationPath() + "/Commands/¬
Sort Table.htm"
var sortDOM = dreamweaver.getDocumentDOM(sortCmd);